<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>核心课程</title>

<link type="text/css" rel="stylesheet" href="<%=basePath%>css/xinde.css">

<script type="text/javascript" src="<%=basePath%>js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/deleteConfirm.js"></script>
<script type="text/javascript" src="<%=basePath%>js/kecheng.js"></script>
</head>
<body>

<div class="container">
<table cellpadding="0" cellspacing="0" border="0" width="100%">

	<tr>
		<td>
		<div class="header">
		<div class="header_left">核心课程列表</div>

		<div class="header_right"><a
			href="<%=basePath%>/page/kecheng/addkecheng.jsp">添加核心课程</a></div>
		</div>
		</td>
	</tr>

	<tr>
		<td><c:forEach items="${requestScope.admin_list}" var="vo"
			varStatus="status">

			<div align="left" ondblclick="showKecheng(${vo.courseID })"><span
				style="color: maroon">标题：</span>

			<div class="title" id='title${vo.courseID }'>

			<div class="header_left">${vo.courseName}</div>

			<div class="header_right"><a
				href="javascript:showKecheng(${vo.courseID })">↓查看/收起所有信息↓</a></div>
			</div>


			<div class="opt"><a
				href="<%=basePath%>page/kecheng/updatekecheng.jsp?courseID=${vo.courseID }">编辑</a>|
			<a href="javascript:deleteCourse(${vo.courseID })">删除</a></div>

			<c:choose>
				<c:when test="${status.last}">

				</c:when>
				<c:otherwise>
					<div class="line"></div>
				</c:otherwise>
			</c:choose></div>
		</c:forEach></td>
	</tr>
</table>
</div>
</body>


</html>
